Feature: User Can Create Post

Scenarios

Chart

Status

Progress

1

Passed

0.00%

Failed

0.00%
Total duration:
1m 42.014s

Scenario: User can login and create a post

Before 0m 1.023s
Given I navigate to page "<LOGIN_URL>" 0m 2.282s
And I wait for 5 seconds 0m 5.200s
When I enter a correct email "<EMAIL>" 0m 0.218s
And I wait for 2 seconds 0m 2.191s
When I enter a correct password "<PASSWORD>" 0m 0.188s
And I wait for 2 seconds 0m 2.195s
When I click on the signin button 0m 0.355s
And I wait for 5 seconds 0m 5.250s
Then I can see dashboard admin 0m 0.191s
And I wait for 2 seconds 0m 2.333s
When I select the "See Most Posts" section 0m 0.344s
And I wait for 2 seconds 0m 2.615s
When I select the "Create New Post" options 0m 0.348s
And I wait for 2 seconds 0m 2.182s
When I type the post title "New Post Title" 0m 0.174s
And I wait for 2 seconds 0m 2.178s
When I click on the body text 0m 0.172s
And I wait for 2 seconds 0m 2.174s
When I click on the "Publish" option 0m 0.196s
And I wait for 2 seconds 0m 2.188s
When I click on "Finish Review" 0m 0.203s
And I wait for 2 seconds 0m 2.190s
When I click on the "Publish Post Now" button 0m 0.223s
And I wait for 5 seconds 0m 5.206s
Then I confirm that post was created 0m 0.192s + Show Error
AssertionError
    + expected - actual

    -Boom. It’s out there. That’s 4 posts published, keep going!
    +Boom. It’s out there. That’s 3 posts published, keep going!

    at KrakenWorld.<anonymous> (/Users/juan/Herd/MISOPASCII-2023/e2e/kraken/features/web/step_definitions/step.js:93:32)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
And I wait for 2 seconds 0m 0.000s
After 0m 0.003s

Screenshots

Before
NO IMAGE AVAILABLE
Given I navigate to page "<LOGIN_URL>"
And I wait for 5 seconds
When I enter a correct email "<EMAIL>"
And I wait for 2 seconds
When I enter a correct password "<PASSWORD>"
And I wait for 2 seconds
When I click on the signin button
And I wait for 5 seconds
Then I can see dashboard admin
And I wait for 2 seconds
When I select the "See Most Posts" section
And I wait for 2 seconds
When I select the "Create New Post" options
And I wait for 2 seconds
When I type the post title "New Post Title"
And I wait for 2 seconds
When I click on the body text
And I wait for 2 seconds
When I click on the "Publish" option
And I wait for 2 seconds
When I click on "Finish Review"
And I wait for 2 seconds
When I click on the "Publish Post Now" button
And I wait for 5 seconds
Then I confirm that post was created
And I wait for 2 seconds
NO IMAGE AVAILABLE
After
NO IMAGE AVAILABLE